﻿

namespace Stee.CAP8.MessageBus.Kafka.Constant
{
    using System.Text;

    /// <summary>
    /// Class of constants and static variables for shared & consistent configuration across producer and consumer
    /// </summary>
    public static class GeneralConstants
    {
        #region Constants

        /// <summary>
        /// Timeout delay
        /// </summary>
        public const int TimeoutDelay = 1000;

        #endregion Constants


        #region Static Variables

        /// <summary>
        /// Encoding for serializing string for Kafka message header properties
        /// </summary>
        public readonly static Encoding EncodingTypeString = Encoding.UTF8;

        #endregion Static Variable
    }
}
